package com.newworld.basketballfire.main.impl;

import com.newworld.basketballfire.main.business.DemoBusiness;
import com.newworld.basketballfire.service.delegate.DemoServiceDelegate;
import com.newworld.basketballfire.service.model.DemoInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by George on 2018/12/23.
 * DemoServiceDelegateImpl
 */
@Component
public class DemoServiceDelegateImpl implements DemoServiceDelegate
{
    @Autowired
    private DemoBusiness demoBusiness;

    @Override
    public DemoInfo getDemoInfo()
    {
        return demoBusiness.getDemoInfo();
    }
}
